import socket
sk=socket.socket()
#客户端连接
sk.connect(('127.0.0.1',9001))

#先收
msg=sk.recv(1024)
print(msg)
sk.send(b'byebye')

sk.close()



